Part Number Hot Search : 
BD890YS PRF957 24S15 55N03 BPC1002 61FC4 2SC5289 EM8D100L
Product Description
Full Text Search
 

To Download DS2704EVKIT Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 of 11 features ? demonstrates the capabilities of the ds2704 1280 bit eeprom with sha-1 authentication device, including: ? secure challenge and response authentication using the sha-1 algorithm ? 5 lockable 32 byte pages of eeprom with ds2502 compatibility ? identification ? interfaces to the usb port of a pc running windows xp ? or older operating system that supports usb operation index evaluation kit contents equipment needed introduction setup and installation board connections software installation menus sha-1 tools sha-1 tab memory tab evaluation kit contents 1 pc. tssop evaluation board 1 pc. ds9123o usb adapter 1 pc. rj-11 phone cable required equipment 1. a pc running windows xp or older operating system and an available usb port. 2. a battery or power supply. 3. cables with mini-grabbe r style clips or the ability to solder direct ly to connection pads. ordering information part type DS2704EVKIT+ ev kit + denotes lead(pb)-free and rohs compliant. introduction the ds2704 evaluation kit (ev kit) makes perf ormance evaluation, software development, and prototyping with the ds2704 1280 bit eeprom with sha-1 authentication easy. the evaluation board interfaces to a pc through a ds9123o usb adapter and rj-11 cable conn ection. all related data sheets along with the evaluation software can be found on our website at www.maxim-ic.com. the ds2704 ev kit evaluation software gives the us er complete control of all sha-1 and memory functions of the ds2704 as well as the various other commands. the evaluation board circuit is designed to provide the ds2704 with a stable environment to perform sha-1 calculations and program and read the ds2704. kit demonstration boards will vary as they are improved upon over time. for information on the demons tration board circuits refer to our website at www.maxim-ic.com. 19-4834; rev 10/09 ds2704 evaluation kit 1280-bit eeprom with sha-1 authentication www.maxim-ic.com windows xp is a registered trademark of microsoft corp. downloaded from: http:///
DS2704EVKIT 2 of 11 setup and installation board connections connections to the demonstration boar d are best made either by soldering directly to the pads or by using cables with mini-grabber clips. co mmunication to the board can be accomplished through the rj-11 jack by connecting the provided standard six conductor rj -11 cord to the ds9123o usb adapter. simply attach the bat+/bat- te rminals to a battery or power supply and the ds 2704 ev kit software can communicate with the ds2704 for performing s ha-1 calculations and accessing the memory . figure 1: ds2704 ev kit board (pd091605) connections software installation to install the ds2704 ev kit soft ware, exit all programs currently running and download the ds2704 ev kit software from our website at www.maxim-ic.com . unzip the compressed file and run setup.exe to begin the installation process. fo llow the prompts to complete the installation. the ds2704 ev kit software can be uninstalled in the add/remove program s tool in the control panel. after the installation is complete, open the ds2704k folder and run ds 2704k.exe or select ds2704k from the program menu. a splash screen containing in formation about the evaluation kit appears as the program is being loaded. all relevant data sheets and appl ication notes on the ds2704 and ds2704 ev kit can be found on our website at www.maxim-ic.com. they are stored in adobe acrobat format for easy viewing. selecting the com port if the ds9123o is connected when the ds2704 ev kit is powered, the software will start up automatically. if it is not powered , the select preferences window will open. this software will also operate with the ds9123 serial port adapter. in this window, select either serial port or us b communication and the port number; then hit ok. the ds2704 ev kit software saves this port selection a nd automatically uses the selection each time the program starts. to change the port later, click the pr eferences option on the menu bar, select edit preferences, and then select the ap propriate port. to attempt to au tomatically locate the ds9123o or ds9123, click the poll ports button. warning - auto matically polling for the ds9123 can disrupt other devices connected to your computer?s com ports. p- b+ downloaded from: http:///
DS2704EVKIT 3 of 11 menus several pull down menu options have been provided to simplify use of the ds2704 ev kit software for the user. their functions are in dividually detailed below. file menu the file menu allows the user to save the contents of the 160 bytes of eeprom to a file so that other ds2704?s can easily be programmed with the same data. to save the eeprom valu es to a file, select save memory set up and enter a filename and select the location to store the file. this will store the contents of all of the text boxes on the memory tab to the selected file. to load the values from a file into the text boxes on the memory tab, select load memory set up and select the desired file. 1 wire speed menu the 1 wire speed menu allows the user to set the 1 wire speed that the software uses. the ds2704 is capable of communicating at regular and over drive sp eeds, so it is possible that the software will be communicating in one speed and the ds2704 will be in the other speed. this menu allows the user to specify which speed the software will use, but it will not make any changes to the device. the software will attempt to identify the correct sp eed of the device at startup, but in the event that the software and the device get out of sync, this menu will allow the user to correct the problem. a ch eck mark will be next to the speed that is currently in use by the software. preferences menu the preferences menu allows the user to change por t settings at any time. edit preferences opens the select preferences window. see selecting the com port above. tools menu downloaded from: http:///
DS2704EVKIT 4 of 11 the software provides 2 tools to evaluate the sha-1 calculations, a method to view the software computed mac and a sha-1 calcul ator. left-clicking on the show software computed mac menu item will expand the main window to show the mac computed by the so ftware. see the sha-1 tab section below for more details. the sha-1 calculator left-clicking on the show sha-1 calculator menu item will open a new window that will allow the user to perform sha-1 calculations indepe ndent of the ds2704. simply fill in the text boxes with the desired values and left-click on the compute mac with soft ware button. if the rom id is to be used in computing the mac, then check the use rom id? check box. use the option ? fill with values from main form menu item to fill the secret, rom id and challenge text boxes with values from the main program window. help menu selecting the about topic from the help menu w ill open a window containing information about this program and dallas semiconductor. downloaded from: http:///
DS2704EVKIT 5 of 11 sha-1 commands tab the functions of the ds2704 shown on the sha-1 comm ands tab are divided into three sections: sha- 1 commands, 1 wire commands, and other commands. sha-1 commands the ds2704 uses an 8 byte secret, the 8 byte rom id code of the de vice and an 8 byte challenge to generate a 20 byte message digest (also called the mac) using th e sha-1 encryption algorithm. the secret the user is able to clear the 8 by tes of the secret by left-clicking on the clear secret button. the top- right text box is the lsb of the se cret, and the bottom-left text box is the msb of the secret. (all text boxes are displayed in this same format.) the user can also permanently lock the secret by left -clicking on the lock secret button. once the secret is locked, it cannot be changed and cannot be read from the ds2704. the software will prompt the user to make sure the secret is ready to be permanently locked. another feature of the ds2704 is to generate the ne xt secret from the existing secret, rom id and challenge. it is important to write the challenge (see below) before left-clicking the compute next secret or compute next secret with id button. the device will perform the sha-1 calculation and create the next secret. the software will perform a sha-1 calculation based on the values in the text downloaded from: http:///
DS2704EVKIT 6 of 11 boxes for the secret, rom id (if desired) and cha llenge and place the new se cret, as calculated by software, in the secret text boxes. the new s ecret is never read back from the device. it is important for the software and the ds2704 to ha ve identical secrets, rom id?s, and challenges so that the software can properly verify the operation of the ds2704. if the software is not in sync with the device, simply clear the secret to get th e software and hardware back in sync. the ds2704 has 2 commands to compute the next secret . the compute next se cret with id command uses the secret, the rom id and the challenge to perform the sha-1 encr yption algorithm. the compute next secret command uses the secret and the challenge, but replaces the rom id with 0xff?s to perform the algorithm. the user can select whic h command is used by left-clicking on the appropriate button. the rom id the rom id code is unique for each ds2704 device and cannot be changed by the user. the user can load the rom id of the device into the rom id text boxes by usi ng the read rom or search rom functions described in the 1 wire commands section. the challenge the challenge is a random 8 byte block that is used by the ds2704 to perform the sha-1 encryption algorithm. each time the sha-1 is performed, either during a compute next secret or a compute mac (see below) the challenge is left in an undefined stat e. therefore the user must left-click on the write challenge button prior to each computation in order to get a pr oper sha-1 calculation. the user can left-click on the randomize challenge butt on to load a random challenge into the challenge text boxes. left-clicking th is button does not write the ch allenge to the device. it is still required that the user left-click on the write challenge butt on to write the challenge to the device. the mac the mac is the 20 byte message dige st that is the result of the s ha-1 encryption algorithm. when the secret has been loaded properly, th e rom id has been read, and the ch allenge has been written to the device, left-clicking on the comput e mac or compute mac with id button will perform the sha-1 calculation, read back the resu lts, and then display them in the mac text boxes. downloaded from: http:///
DS2704EVKIT 7 of 11 the software will also perform the sha-1 calculati ons based on the secret, rom id (if desired) and challenge text box values and compare its results to the results read back from the ds2704. if the mac computed by the software and mac read back from the ds2704 match, then the software will display ?verified?. if they do not match, ?not verified? will be displayed. the user can vi ew the software computed mac by using the tools menu ? show softwa re computed mac. the user also can compute the mac with the ds2704, then change 1 bit in one of the text boxes of the secret, and then compute the mac with software to see how big of a difference changing 1 bit will make. if the mac is ?not verified?, make sure that the challenge was writte n prior to computing the mac. if the ?not verified? error continues, perhaps the secret in the device does not match what is in the secret text boxes and the user will need to clear the secret of the ds2704. 1 wire commands 1 wire reset all communication to the ds2704 occurs over the 1-wi re? bus, but the device can be configured to communicate at regular 1-wire speed or at over dr ive speed. the user can left-click on the 1-wire reset button and a 1-wire reset will be generated at the proper 1-wire speed. the caption below the 1- wire reset button will display which 1-wire speed is us ed. it will also indicate whether a device on the bus responded to the 1-wire reset with a presence detect pulse at the proper 1-wire speed. read rom the user can left-click on the read rom button to perform the read rom function. the result of the read rom will be displayed in the caption below the bu tton. if a single 1-wire device is located on the bus, the device?s rom id will be displa yed. if more than one 1-wire de vice is on the bus, the result will be a logical and of the rom id?s of all of the devices on the bus. the result will also be displayed in the rom id text boxes in the sha-1 commands sections. 1-wire is a registered trademark of maxim integrated products, inc. downloaded from: http:///
DS2704EVKIT 8 of 11 search rom if one or more 1-wire devices are on the bus, the user can left-cli ck on the search rom button to perform the search rom routine. this will find all 1-wire devices on the 1-wire bus communicating at the specified 1-wire speed and will display the results in th e list box. the user ca n left-click on any of the rom id?s in the text box to select that device. the selected rom will appear in the caption below the search rom button as well as be displayed in the rom id text boxes in the sha-1 commands sections. this rom id will be used for the matc h rom portion of the communication. if no rom id is selected, a skip rom command will be used. other commands the other commands section contai ns 3 other commands of the ds2704: clear over drive mode, set over drive mode, and soft por. set/clear over drive mode the user can left-click on the clear over drive mode or set over drive mode to send the command to the device to configure the device to communicate in regular 1-wire speed or in over drive speed. it is important that the software and the device are communicating at the same speed in order for these commands to have any affect. after either of these buttons has been clicked, the software will send the command at the current 1-wire speed, and then will sw itch the software to the appropriate speed. soft por the final button in this section is the soft por butt on. the user can left-click on the soft por button to send the command to the device, which causes the device to be internally reset. the part goes through its power on reset procedure without actu ally cycling the power on the device. downloaded from: http:///
DS2704EVKIT 9 of 11 memory tab the memory tab contains a sub-tab which allows the user to access the 5 pages of eeprom and the status page. each sub-tab provides read/write acce ss to the memory locations displayed on that single page as well as the ability to perman ently lock each page of eeprom. when the eeprom is written, it is read back to verify it was written properly. if the data that is read back is incorrect, an error message will be displayed. on e reason to see this error is if the page is locked prior to writing. when a lock page button is clicked, the page will be permanently locked. the user will be prompted before the page is locked. the pages of eeprom can also be locked by writing the write protection byte on the status sub-tab. the read every page button and write every page button allow for all the pages to be read or written at one time. selecting the read command there are three commands available to read the memory of the ds2704. th e read memory command (f0h) and the read data with crc command (c3h) are identical to the same commands of the ds2502. the ds2502 only has pages 0, 1, 2, and 3, so these comman ds only allow access to these pages. to read page 4, use the read all command ( 65h). the read all command can be us ed to read all five pages of eeprom. see the ds2704 datasheet for more information on the various commands. downloaded from: http:///
DS2704EVKIT 10 of 11 to select a read command, simply c lick the radio button next to the de sired command in the select read command section. clicking any of the read page buttons or the re ad every page bu tton will use the selected command to read the memory. a crc of the data read from memory is read fro m the ds2704 following the r eading of certain memory locations which is different for each read command. the read memory command reads a crc following memory location 7fh. the read data with crc command reads a crc following the end of each page. the read all command reads a crc follo wing a read of memory location 9fh. each time the crc is read it will be displayed at the bottom of the sub-tab. ds2704 ev kit schematic downloaded from: http:///
DS2704EVKIT 11 of 11 revision history revision date description pages changed 10/09 changed the part number from ds2704k to DS2704EVKIT. all downloaded from: http:///


▲Up To Search▲   

 
Price & Availability of DS2704EVKIT

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X